/**
* Created with IntelliJ IDEA.
* Description:
* User: 22652
* Date: 2024-05-17
* Time: 0:13
*/
import java.util.Random;
import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: dell
 * Date: 2023-11-15
 * Time: 16:27
 */
public class main {
    //    public static void main(String[] args) {
//        Scanner scan =new Scanner(System.in);
//        Random random =new Random();
//        int randNum =random.nextInt(100);
//        while (true) {
//        int a=scan.nextInt();
//            if (a<randNum){
//                System.out.println("猜小了");
//            }
//            if (a==randNum){
//                System.out.println("猜对了");
//            break;
//            }
//            if (a>randNum){
//                System.out.println("猜大了");
//            }
//        }
//    }
//
    public static void main1(String[] args) {
        int i=1;
        double  sum=0.0;
        while(i<101){
            double b=1.0/i;
            int c=1;
            if (i%2==0){
                c=-1;
            }
            sum=sum+(b*c);
            i++;

        }
//            double sum = 0;
//            int flg = 1;
//            for (int i = 1; i <= 100; i++) {
//                sum += 1.0/i * flg;
//                flg = -flg;
//            }
        System.out.println(sum);
    }
    public static void main2(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        while (in.hasNextInt()) { // 注意 while 处理多个 case
            int a = in.nextInt();
            for (int i=1;i<=a;i++){
                for(int j=1;j<=a;j++){
                    if(i==j||i+j==a+1){
                        System.out.print("*");
                    }
                    else {
                        System.out.print(" ");
                    }
                }
                System.out.println();
            }

        }
    }
    //    Scanner scan = new Scanner(System.in);
//        while(scan.hasNextInt()) {
//        int n = scan.nextInt();
//
//        for(int i = 0;i < n;i++) {
//            for(int j = 0;j < n;j++) {
//                if(i == j) {
//                    System.out.print("*");
//                }else if( i+j+1 == n) {
//                    System.out.print("*");
//                }else{
//                    System.out.print(" ");
//                }
//            }
//            System.out.println();
//        }
//    }
    public static  int mysoqt(int a,int b){
        int i=0;
        i=a>b?a:b;
        return i;
    }
    public static int yoursoqt(int a,int b,int c){
        int i=0;
        i=mysoqt(a,b);
        i=mysoqt(c,i);
        return i;
    }
    public static void main3(String[] args) {
        Scanner in=new Scanner(System.in);
        int a= in.nextInt();
        int b= in.nextInt();
        int c=in.nextInt();
        System.out.println(mysoqt(a,b));
        System.out.println(yoursoqt(a,b,c));
    }

    public static void main4(String[] args) {
        Scanner in=new Scanner(System.in);
        int a=in.nextInt();
        int sum=1;
        for(int i=1;i<=a;i++){
            sum*=i;
        }
        System.out.println(sum);
    }
    public static int myadd(int a){
        if (a==1){
            return 1;
        }
        int sum=1;
        for(int i=1;i<=a;i++){
            sum*=i;
        }
        return sum+myadd(a-1);
    }
    public static void main5(String[] args) {
        Scanner in=new Scanner(System.in);
        int a=in.nextInt();
        System.out.println(myadd(a));
    }
    public static int fbo(int a){
        if(a==1){
            return 0;
        } else if (a==2) {
            return 1;
        }else{
            return fbo(a-1)+fbo(a-2);
        }
    }
    public static void main6(String[] args) {
        Scanner in=new Scanner(System.in);
        int a=in.nextInt();
        for (int j=1;j<=a;j++){
            System.out.print(fbo(j)+"  ");
        }
    }
    public static int add(int a,int b){
        return a+b;
    }
    public static double add(double a,double b,double c){
        return a+b+c;
    }
    public static void main7(String[] args) {
        Scanner in=new Scanner(System.in);
        int a=in.nextInt();
        int b= in.nextInt();
        double c=in.nextDouble();
        double d=in.nextDouble();
        double e=in.nextDouble();
        System.out.println(add(a,b));
        System.out.println(add(c,d,e));
    }
}
